<?php 
$programs = array("EDU","BBA","BA","MBA","BSIT","DM");
$stripped = str_replace($programs, "", $row_courses['jiu_course_id']);
if ($stripped >= 700)
{ ?>
<p><span class="greenHighlight">&lt;!--  Begin Instructor Notes --&gt;</span></p>
<p><span class="greenHighlight">Include  advice, resources, techniques, issues, and thoughts that you feel instructors  should be aware of with regard to the project. Consider:</span></p>
<ul type="disc">
  <li><span class="greenHighlight">Strategies for project evaluation, submittal, and formatting.</span></li>
  <li><span class="greenHighlight">Additional resources.</span></li>
</ul>
<p><span class="greenHighlight">&lt;!-- End  Instructor Notes --&gt;</span></p>
<h1>DOCS</h1>
<h2>[Tab: Project]</h2>
<h2>Title of Project [Product: Process]</h2>
<h2>Overview</h2>
<p><span class="pinkHighlight">[Include a  general overview of the course project. To start, the overview from the proposal is below.]</span></p>
<p><?php echo $row_cpd_latest['project_desc1']; ?></p>
<h2>Sponsorship</h2>
<p><span class="yellowHighlight">[DEV NOTE: include edd_sponsorship.html]</span></p>
<p><span class="yellowHighlight">[DEV NOTE: include sb_sponsorship.html]</span></p>
<h2>Procedure</h2>
<p><span class="pinkHighlight">[Include strategies for successful completion. Include weekly deliverables and their corresponding Assignment numbers, if applicable.]</span></p>
<ul>
  <li>For an explanation of how you will be evaluated on the  course project, please review the Project Assessment. <span class="yellowHighlight">[DEV NOTE: link to assessment tab]</span></li>
</ul>
<?php 
$query_pd_num = sprintf("SELECT * FROM project_deliverable WHERE cid='%s' ORDER BY mid,del_num,vid ASC", $cid);
$pd_num = mysql_query($query_pd_num, $connection) or die(mysql_error());
$row_pd_num = mysql_fetch_assoc($pd_num);
$totalRows_pd_num = mysql_num_rows($pd_num);
do { $d[] = $row_pd_num['del_num']; } while ($row_pd_num = mysql_fetch_assoc($pd_num));
sort($d);
foreach (array_unique($d) as $value1) {
	$query_pd_loop = sprintf("SELECT * FROM project_deliverable WHERE cid='%s' AND del_num='%s' ORDER BY vid DESC LIMIT 1", $cid, $value1);
	$pd_loop = mysql_query($query_pd_loop, $connection) or die(mysql_error());
	$row_pd_loop = mysql_fetch_assoc($pd_loop);
	$totalRows_pd_loop = mysql_num_rows($pd_loop);
?>
<h3>Project Component <?php echo $row_pd_loop['del_num']." &mdash; ".$row_pd_loop['pd_name']." (Module".$row_pd_loop['mid'].")"; ?></h3>
<p><?php echo $row_pd_loop['pd_desc1']; ?></p>
<?php } ?>
<h2>[Tab: Assessment]</h2>
<p>This project is worth XX total points. Each week, you will  complete course project deliverables that are part of the project whole. You  will be assessed each week and points will be assigned to your submissions by your  instructor.</p>
<p><span class="yellowHighlight">[DEV  NOTE: include student_assessment_no_standard.html]</span> IF NO STANDARDS are associated</p>
<p>-OR-</p>
<p><span class="yellowHighlight">[DEV NOTE: include private/jiu/media/doc/common/student_assessment_page_ELCC.html]</span></p>
<h2>[Tab: Study Guide]</h2>
<p><span class="yellowHighlight">[DEV NOTE: include private/jiu/media/doc/common/edd_study_guide.html, $courseNumber=<?php echo $row_courses['jiu_course_id']; ?>]</span></p>
<?php 
} 
else
{ ?>
<p><span class="greenHighlight">&lt;!--  Begin Instructor Notes --&gt;</span></p>
<p><span class="greenHighlight">Include  advice, resources, techniques, issues, and thoughts that you feel instructors  should be aware of with regard to the project. Consider:</span></p>
<ul type="disc">
  <li><span class="greenHighlight">Strategies for project evaluation, submittal, and formatting.</span></li>
  <li><span class="greenHighlight">Additional resources.</span></li>
</ul>
<p><span class="greenHighlight">&lt;!-- End  Instructor Notes --&gt;</span></p>
<h1>Course Project</h1>
<h2>Title of Project [Product: Process]</h2>
<h2>[Tab: Overview]</h2>
<h2>Overview</h2>
<p><span class="pinkHighlight">[Include a  general overview of the course project. To start, the overview from the proposal is below.]</span></p>
<p><?php echo $row_cpd_latest['project_desc1']; ?></p>
<h2>Deliverables</h2>
<?php 
$query_pd_num = sprintf("SELECT * FROM project_deliverable WHERE cid='%s' ORDER BY mid,del_num,vid ASC", $cid);
$pd_num = mysql_query($query_pd_num, $connection) or die(mysql_error());
$row_pd_num = mysql_fetch_assoc($pd_num);
$totalRows_pd_num = mysql_num_rows($pd_num);
do { $d[] = $row_pd_num['del_num']; } while ($row_pd_num = mysql_fetch_assoc($pd_num));
sort($d);
foreach (array_unique($d) as $value1) {
	$query_pd_loop = sprintf("SELECT * FROM project_deliverable WHERE cid='%s' AND del_num='%s' ORDER BY vid DESC LIMIT 1", $cid, $value1);
	$pd_loop = mysql_query($query_pd_loop, $connection) or die(mysql_error());
	$row_pd_loop = mysql_fetch_assoc($pd_loop);
	$totalRows_pd_loop = mysql_num_rows($pd_loop);
?>
<h3>Deliverable <?php echo $row_pd_loop['del_num']." &mdash; ".$row_pd_loop['pd_name']." (Module".$row_pd_loop['mid'].")"; ?></h3>
<p><?php echo $row_pd_loop['pd_desc1']; ?></p>
<?php } ?>
<h2>Procedure</h2>
<p><span class="pinkHighlight">[Include strategies for successful completion. Include weekly deliverables and their corresponding Assignment numbers, if applicable.]</span></p>
<ul>
  <li>For an explanation of how you will be evaluated on the  course project, please review the Project Assessment. <span class="yellowHighlight">[DEV NOTE: link to assessment tab]</span></li>
</ul>
<p><span class="yellowHighlight">[DEV NOTE: include soe_sponsorship.html]</span></p>
<p><span class="yellowHighlight">[DEV NOTE: include sb_sponsorship.html]</span></p>
<h2>[Tab: Assessment]</h2>
<p>This project is worth XX total points. Each week, you will  complete course project deliverables that are part of the project whole. You  will be assessed each week and points will be assigned to your submissions by your  instructor.</p>
<p><span class="yellowHighlight">[DEV  NOTE: include student_assessment_no_standard.html]</span>
<?php if ((str_replace($programs, "", $row_courses['jiu_course_id']) >= 500) && (strstr($row_courses['jiu_course_id'], "EDU"))) { ?>
IF NO STANDARDS are associated</p>
<p>-OR-</p>
<p>Specify  the appropriate standards-based assessment: IBSTPI, ISTE, ACEI, ELCC, TESOL.</p>
<?php } 
}
?>
